﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Launch_BasHide : MonoBehaviour
{

    public GameObject Launch_Base;
    public GameObject Launch_Hover;
    private Vector3 location, OriginalLocation;

    // Use this for initialization
    void Start()
    {
        location = new Vector3(3.155F, -2.235F, 1);
        OriginalLocation = new Vector3(3.155F, -2.235F, 0);
    }

    // Update is called once per frame
    void Update()
    {

    }

    void OnMouseEnter()
    {
        Launch_Base.transform.position = location;
        Launch_Hover.transform.position = OriginalLocation;
    }

    void OnMouseExit()
    {
        Launch_Base.transform.position = OriginalLocation;
        Launch_Hover.transform.position = location;
    }
}
